
-- base view for unity prefab base skin view
BaseView = {mViewName = "BaseView"};

-- local params
BaseView.transform = nil;
BaseView.gameObject = nil;

-- new
function BaseView:New(o)
	o = o or {};
	setmetatable(o, self);
	self.__index = self;
	return o;
end

-- when skin awake
function BaseView:Awake( go )
	self.gameObject = go;
	self.transform = go.transform;

	self:InitView();
end

-- --------------------------------------------------------------------------------------------
-- Users need implement this function, for default view parse
--
-- @ init skin default view
-- @ override by sub class
function BaseView:InitView()
	-- todo
	
end

function BaseView:Dispose()
	-- body

end
-- --------------------------------------------------------------------------------------------